Repository navigation
Conversation
The designer rebuilt the kit's corners on a 12px base (Primitives > radius), with the code's own ladder and mapping, so --radius goes from 10px to 12px: controls 9.6px, cards 12px, menus, dialogs and toasts 16.8px. The artifacts' tokens are regenerated, and the Recorder's in-page notice takes the same radius, as its test asks. The look's Corners item and the tests name the new steps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yasell
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 3, 2026 17:09
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
--radius, the one value every corner in the web app is worked out from, goes from 10px (0.625rem) to 12px (0.75rem). The ladder on top of it stays as it is (sm×0.6,md×0.8,lg×1,xl×1.4, up to4xl×2.6), and so does the step each thing takes. Every corner grows by a fifth:rounded-mdrounded-lgrounded-xlrounded-smNo primitive and no screen is edited.
Why
The designer rebuilt the corners of the Figma UI Kit (OpenBot (MASTER), Primitives →
radius) on a 12px base, because 10px read too small. The kit's ladder is the code's: base 12,sm7.2,md9.6,lg= base,xl16.8,2xl21.6,3xl26.4,4xl31.2. Its mapping is also the code's rule as it stands: buttons, fields and tabsmd, cards and panelslg, menus, dialogs, toasts and the message fieldxl. So the change is the one value, as design-system.md asks: "to make the app rounder or sharper, change that one value".What follows the value
app/src/lib/artifacts/tokens.csstakes the app's radius; regenerated withbun run tokens:generate.extension/src/content/notice.ts) draw with the app's radius, andextension/tests/content-notice.test.tsholds the two together, soRADIUSis0.75remtoo. The extension's own pages importtheme.cssand follow on their own.app/tests/skins.test.ts), so OpenDuet, OpenDots and OpenFuse follow.a2ui) readsvar(--radius)and follows.Left as they are, on purpose:
desktop/src/styles.css, and its first-paint cover is drawn natively with 14px corners to match it (desktop/src-tauri/src/first_paint.rs). Moving it is a change of its own, in CSS and in Rust.0.5rem,mobile/global.css).app/src/lib/copilot/generative-ui.ts) describes a look of its own to the model, colors included, with corners inrem. It is not tied to the theme and isn't touched here.What it looks like
main beside this pull request, light and dark. The real primitives, built from each branch.
Up close: a button and a field (
md), a card (lg), a menu's surface (xl).Buttons, fields, a card, an open menu and a toast:
A dialog:
Rules and tests
app/tests/ui-look-theme.test.tsholds--radiusat0.75rem; its comments name the 12px base and the 7.2 to 31.2 ladder.--radiusinapp/src/theme.css, and the checkbox's reason inapp/tests/ui-primitives-look.test.ts(the control corner is now 9.6px), name the new steps.What I looked at
bun run typecheckinapp;biome lint --error-on-warningsandbiome formaton the changed files.bun test:ui-look-theme,ui-primitives-look,skins,design-tokens,artifact-bridge-tokens,artifacts-kit;tokens/tests/generated.test.ts;extension/tests/content-notice.test.ts.OPENBOT_APP_BROWSER=1):artifacts-kit,free-runs-heads-up-layout,step-rows-layout,conversation-reply-toolbar-layout,organization-menu-names(the ones that read a computed corner).Overlaps
docs/app-guidelines.md. This pull request changes only its numbers, on the same lines, so whichever lands second keeps the other's sentence and takes the numbers: 12px, 9.6px, 12px, 16.8px.rounded-md; with this pull request that is 9.6px, as the kit draws them.